/**
 * 
 */
package cn.zhfeat.hatch.web.utils;

/**
 * @explain 状态码配置类
 * @author wschenyongyin
 * @date 2017年5月22日
 */
public class ConfigStatusCode {

	public static final String SUCCESS_CODE = "200";

	public static final String SUCCESS_MSG = "SUCCESS";
	
	public static final String EMPTY_DATA="201";
	
	public static final String EMPTY_DATA_MSG="无记录";
	
	public static final String REMOTE_REQUEST_FAIL="501";
	
	public static final String REMOTE_REQUEST_FAIL_MSG="远程请求出错";
	
	public static final String REQUEST_PARAMETER_FAIL="502";
	
	public static final String REQUEST_PARAMETER_FAIL_MSG="请求参数出错";
	
    public static final String QUERY_DATA_FAIL="504";
	
	public static final String QUERY_DATA_MSG="必要数据查询出错";
	
	public static final String FAILURE_CODE = "507";

	public static final String FAILURE_MSG = "FAIL";

	// 数据为空
	public static final String DATA_EMPTY = "20027";
	// 重新登陆
	public static final String AFRESH_LOGIN = "20028";
	// 缺少必要参数
	public static final String LOSE_PARAMETER = "10011";
	// 操作数据库失败
	public static final String HANDLE_DATABASE_FAILURE = "10012";
	// 名称已被占用
	public static final String NAME_OCCUPATION = "10013";
	//无法删除此智能营销
	public static final String UNABLE_DELETED_MARKET = "10014";
	
	public static final String DELETE_MARKET_FAILURE = "10015";
	
	/**
	 * 名片相关
	 */
    public static final String COMPANY_CARD_NO_DATA="20001";//无名片信息
    
    /*
     * 活动相关
     */
    public static final String NO_COUPON_NUM="30001";//优惠券领取完毕
    public static final String TIMEDATE_OVERDUE="30002";//活动过期
    public static final String ACTIVATE_ACTIVITY_FAILURE="30003";//启用活动失败
    public static final String DELETE_ACTIVITY_FAILURE="30004";//删除活动失败
    public static final String DELETE_ACTIVITY_CANNOT="30005";//无法删除活动
    public static final String ACTIVATE_ACTIVITY_FAILURE_EDIT="30006";//活动还未编辑完成，无法启用活动
    public static final String ACTIVATE_ACTIVITY_FAILURE_ACTIVATEYET="30007";//活动已经是启用状态
    public static final String ACTIVITY_EDITING="30005";//活动正在编辑
    public static final String JOIN_RESERVE_SUCCESS="30008";//加入预约活动成功
    public static final String JOIN_RESERVE_FAIL="30009";//加入预约活动失败
    public static final String JOIN_RESERVE_MEMBER_FAIL="30010";//获取预约成员信息失败
    public static final String RESERVE_INFO_FAIL="30011";//获取预约信息失败
    
    /**
     * 优惠券、优惠券批次
     */
    public static final String COUPON_NAME_EMPTY="40001";
    public static final String COUPON_VALUE_EMPTY="40002";
    public static final String COUPON_IS_EXISTS="40003";
    public static final String COUPON_CREATE_FAIL="40004";
    public static final String COUPON_UPDATE_FAIL="40005";
    public static final String COUPON_EXPIRE="40006";
    public static final String COUPON_BATCH_NOT_EXISTS="40007";//优惠券批次不存在
    public static final String COUPON_BATCH_AUDIT_YET="40008";//该批次已审核，无须再次审核
    public static final String COUPON_IS_USED="40009";//优惠券已经使用
    
    /**
     * 短信批次
     */
    
    public static final String SMS_APPROVAL_SUCCESS="50001";
    public static final String SMS_APPROVAL_FAILURE="50002";
    public static final String SMS_BATCH_IS_DELETED="50003";
    public static final String SMS_BATCH_IS_APPROVAL="50005";
    
   
    
    /**
     * 平台模块
     * 
     */
    public static final String AUTHORITY_LIST_EMPTY="60001";
    public static final String AUDIT_ACCOUNT_FAILURE="60002";
    public static final String MODEL_NAME_SAME="60003";
    public static final String MODEL_IS_USED="60004";
    
    /**
     * 登录成功判断用户如果有多个门店标识
     */
    public static final String HAVE_MANY_STORE="70001";
}
